<template>
  <d2-container>
    <template slot="header">
      <el-row class="title">设备录入登记表</el-row>
      <el-row class="button-group">
        <el-button-group>
          <el-button size="small" @click="onSubmit">保存</el-button>
          <el-button size="small" @click="onSubmit">保存并新建</el-button>
          <el-button size="small" icon="el-icon-refresh">重置</el-button>
        </el-button-group>
      </el-row>
    </template>
    <page-form :form='form'></page-form>
  </d2-container>
</template>

<script>
import PageForm from './components/PageForm'
export default {
  name: 'equipment-management-entryform',
  components: {
    PageForm
  },
  data () {
    return {
      form: {
        name: '',
        sex: '',
        birthday: '',
        education: '',
        major: '',
        IdCard: '',
        degree: '',
        age: '',
        title: '',
        workunits: '',
        experience: '',
        educationexperience: '',
        training: '',
        certificate: '',
        ava: '',
        promise: '0'
      }
    }
  },
  methods: {
    onSubmit () {
    }
  }
}
</script>
<style scoped>
  .title{margin-bottom: 20px;}
</style>
